import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import { Button } from "vant";
import { Swipe, SwipeItem } from "vant";
import { Icon } from "vant";
import { Skeleton } from "vant";
import { Divider } from "vant";
import { Lazyload } from "vant";
import { Field, CellGroup } from 'vant';
import { Loading } from 'vant';
import "amfe-flexible";
import store from "./store/index.js";
import router from "./router";
import { handleMaxWidth } from "./untils/utils.js";
handleMaxWidth();
createApp(App)
  .use(Lazyload, {
    lazyComponent: true,
  }).use(Loading)
  .use(Divider)
  .use(CellGroup)
  .use(Field)
  .use(Skeleton)
  .use(Icon)
  .use(store)
  .use(Swipe)
  .use(SwipeItem)
  .use(router)
  .use(Button)
  .mount("#app");
